Attack-In-The-West-1940 addon
By Dominique (Dom) Legrand and Dirk (Emil) Schoorens
Dunkirk Evacuation scenario addition by Moggy
Install instructions and overall description of the files organization

Introduction 

This add on intends to figure out  the May-June 1940 "Blietzkrieg", as far as EAW allows. 
Given the short period and the fast moves of frontlines and airbases, EAW cannot be used in a 
conventional way to play campaigns, I mean without the source code. This addon includes a 
DOS program which manages the careers instead of EAW.

The program automatically  generates campaign missions at a frequency choosen by the user. 
According to the date, it automatically moves the frontlines, the location of bases and it 
changes the way aircraft appear during missions. Furthermore, each kind of aircraft may have 
different skins/markings. These skins/markings are randomly choosen by the program and 
copied into the main EAW directory. Of course, the aircraft skin/marking of the aircraft flown 
during a career does not change, unless upgraded by the program (e.g. MS406 to D-520).

Finally, the addon allows single missions playing. The single missions can be played at a date 
(and corresponding frontline) choosen by the user.


Main features ********
- DOS  Program (W40.exe) which automatically generates missions in careers, changes the 
frontines and airbases locations according to the date and selects in both scheduled and 
random ways the aircraft (50 different  planes)  in missions. The program also manages the 
logbook, display screens and end-of-career screens in careers.
- 22 differents frontlines cover the whole campaign
- 21 careers are available : 9 german, 7 french, 1 british, 2 belgian and 2  dutch.
- Classic Western Europe map but with airbases and targets relocated near the western 
boundary of Germany, Holland, Luxembourg, Belgium and France. More than 80 
airbases/targets have been relocated.
- Simple and easy setup procedure
- Auxiliary DOS program (SMissW40.exe)  which sets up EAW for single missions at any 
given date between 10 May 40 and 22 June 40.
- Dunkirk evacution fleet present at the correct period in both campaign and single mission 
modes.

Installation : (Note - Refer to the included jpg. file structure illustrations for clarity during 
install.)

The addon requires a separate EAW install. The install must be done in your C : drive in order 
to work. The default EAW program load should be used, which will give you a path of 
C:\Program Files\Microprose Software\European Air War .

Otherwise you must run the separate utility to redirect the path to your unique path. (included 
in the Set up  Read me folder  AITW extras subfolder)

Once you have a clean install of EAW, your new main folder must be renamed from 
C:\Program Files\Microprose Software\European Air War      to :
C:\Program Files\Microprose Software\AITW40. 

The folder AITW40 is where the EAW program is and it will be where you will place any 
terrain add ons, sound add ons, etc.

Then - Unzip the downloaded campaign files Dunkirk Coasts for AITW and AITW Voice 
Pack and place the all files from both folders into the \AITW40 folder. The Voice Pack also 
has a savedata folder included. This also MUST be in the AITW40 folder, or the game will 
not start to load.

Next  create a new subfolder named W40 inside the ...\AITW40 folder. 

Unzip and open all of the downloaded campaign zip files labled W40 folder contents pt xxx. 
Take all of the files out of these folders, combine them, and place only the files into the W40 
folder. 

Note : (the W40 folder contents pt xxx folders themselves were only used to control 
download size, and should not be used. Use only the files inside the folders, and place the 
files loose into the W40 folder)  

Then  create a new subfolder named Common inside the  W40 folder. 

Unzip and open all of the downloaded campaign zip files labled Common folder contents pt 
xxx. Take all of the files out of these folders, combine them and place only the files into the 
Common folder. 

Note : (the Common folder contents pt xxx folders themselves were only used to control 
download size, and should not be used. Use only the files inside the folders, and place the 
files loose into the Common folder)  

Finally  Unzip and open all of the downloaded campaign zip files labled Aircraft folders 
xx. There should be one named folder for each of the EAW aircraft type slots, such as 109E, 
P47C, HURR, etc. 

Inside each named aircraft folder there are either 4, or 6, numbered subfolders. DO NOT 
REMOVE THE NUMBERED SUBFOLDERS from the named folder. These have to stay in 
the folder that they come in.

There is one exception to this. The SP2A aircraft folder had to be split into 2 parts to control 
the size of the download zip file. You will need to put it back together again. Take the 
numbered subfolders from the SP2A pt1 and SP2A pt2 folders and place them into a new 
folder called SP2A so that you have subfolders 1, 2, 3, 4, 5, and 6 inside of it.

One by one, place the aircraft named folders into the W40 folder.

The W40 folder will contain all files necessary to get the addon working, except terrain or 
sound files. Since ECA files are automatically loaded from W40 when running the program, 
ECA is not required within the EAW install.

To Run Attack In The West 1940 in Campaign mode

Before running EAW, you must run the W40.exe, one of the two executables present in the 
newly-created W40 subfolder.

The W40 exe will manage everything. Follow the instructions, choose a career, type your 
name, choose your rank, the rate of missions, let the program load everything and when the 
program stops, close the DOS window. 

Then, run EAW, click on 'Career', click on 'Load' and select the career, which will correspond 
to the data you entered into the program (usually the first mission starts on 10 May 40). Play 
the mission. 

When your mission is over, click on OK and go to the room/office. At that step, DO NOT 
CLICK ON "NEXT MISSION" . Instead QUIT, leave the room and quit EAW. 

This is essential since, as said above, the career files must be managed by the W40 program 
and not by EAW. It is necessary to quit EAW (not Ctrl/Esc). If you do not do this, the 
frontline will never change (EAW checks the frontline only once, at the start). 

To start your next mission, run the W40.exe again. The program will recognize your 
campaign, indicate that the mission has been flown and it will ask you for another one. Then, 
repeat the procedure for each mission as described above till the end of the campaign. 
  
  
  Notes about the campaign mode of the addon ******************
  
> You can run the DOS program at any time, either after or before playing a mission. It will 
indicate whether the last mission has been played or not. Thus, at any time, the program can 
be run without troubles for the current campaign. If you don't remember having generated a 
new mission the last time you played a career, run the program to check. As well, there is no 
interference between the Career file generated by the program and those that are already 
present in your savedata folder. As a matter of fact, the Career file generated by the addon is 
recorded as CareerXX.sve. Therefore, it cannot overwrite your other career files named 
Career00.sve, Career01.sve and so on ... There is a limitation : only one career can be played 
at a time with the addon.
 
 
To Run Attack In The West 1940 in Single Mission mode

Before running EAW, you must run SMissW40.exe, one of the two executables present in the 
newly-created W40 folder.

The program will automatically manage the EAW setup for single missions. It will load 1) the 
map files 2) the files of flyable aircraft 3) the frontline corresponding to the date you want to 
play a single mission. In that aim, the program will ask you for a date between 10/05/40 and 
22/06/40.

Close the DOS window when the process is over and run EAW. Single missions are ready to 
be played.
  
IMPORTANT : there is absolutely no interference between the Campaign mode and the 
Single Missions mode of the addon. In other words, you may start a campaign, stop it 
whenever you wish, play single missions, continue the current campaign and so on ... Even if 
you play other campaigns in other theaters, the campaign data are saved and the career can be 
continued at any moment. Running the W40.exe program will load everything required for the 
campaign you previously started. However, be sure not to erase the corresponding career in 
EAW (CareerXX.sve). In such a case, career data cannot be recovered.

To Run Attack In The West 1940 For the Dunkirk Evacuation scenario

The Dunkirk evacuation fleet is available in single missions mode between 28/05/40 and 
03/06/40 included. Using SMissW40, type a date between these two dates. The program 
allows you to transform the Gladiator into a Spit I from 92 Sqdn, and provides some bases in 
England for allies.

You can fly for the Allies or Germany over Dunkirk. But there is one known bug we have not 
been able to resolve. If you choose to fly an interdiction mission for the German side with the 
Dunkirk Evacuation Fleet as your target, EAW will place your squadron at a convoy located 
south of Sweden. Other  mission types for Germany do not have this bug.

If you fly in campaign mode, the evacuation fleet and Dunkirk also appear at the same period 
but you can never be sure to get missions at Dunkirk. It is randomized by EAW. As well, 
you'll never get missions at Dunkirk if your squadron is located too far from there. The sole 
British campaign for 85 Sqdn ends before Dunkirk as it was pulled back to England prior.

Try one of the 109E3 Staffels campaigns. Missions at Dunkirk are possible.

Managing alternative medal sets in AITW

The capability to import French and new British and German medals has been added to the 
W40 exe program.

I saw on the forum that a set of french awards was released. Other german and british medals 
are available. All done by Von Ron. I thought it would be nice if the addon could load medal 
sets according to the career in use. 

To run this feature, open the 2 zipped files replacement medals pt 1 and pt2. Then place the 
the 3 folders in the zips -: French_Medals; German_Medals and Allies_Medals  are placed in 
your Common folder. Each subfolder contains a readme with specific explanations and the 
medals to replace the default EAW versions. 

The new W40.exe now manages the loading of medal sets according to the career in use. 
Don't worry if you see messages like "File not found" at the beginning of the process : that's 
quite normal as specific files may not be present in the subfolders. If you leave the 3 
subfolders empty (with only the readme files), EAW will use the standard set of awards. If 
files are present in all or part of the subfolders, they will be copied into the AITW40 main 
folder according to the current career. I also hope you will find this option .  
  
> Dominique Dominique.Legrand@univ-lille1.fr
  
> Note : A french Air Control Tower speechpack By Alain-James is available at Check-Six 
for the french careers : a must have ! The terrain files and specific ground objects are not 
included in the addon.
-----------------------------------------------------------------------------------------------------------------

Overall structure of the W40 folder :

The root of the W40 folder contains more than 210 files and 27 subfolders.
Most of the 210 files contained in the W40 folder are files which are very specific to the 
addon. Two executables are present : W40.exe, a DOS program which manages the 
campaigns setup, and SMissW40.exe, a DOS program which manages the single missions 
setup. 

All others files contains infos for the program to manage the automatic and scheduled 
loading/changing of files to the main AITW40 folder. The data contained in these files may 
be changed by simple hex-editing. Their structure is described thereafter.

The 27 subfolders consist of a subfolder named "common" more 26 subfolders whose header 
corresponds to the 26 different airplane slots used by the addon. The "common" folder 
contains "normal" EAW/ECA files which are copied into the main AITW40 folder everytime 
the addon executables are run. There are 3 main screens made by Pilot Officer Prune that are 
loaded according to the side you want to fight for : german (MainG.pic), french (MainF.pic) 
and allies (MainB.pic). Each of the 26 aircraft subfolders contains 4/6 subfolders numbered  
from 1 to 4/6. These subfolders (at least the first one : "1") contain *.3DZ and *.TPC files. 
The specific content of these subfolders is described hereafter. 

Folder 109E   contains skins for 109E3
Subfolder 1 : 109E3 Ubben (3DZ Capitan Manduca Skin Julio Junquiera) = default 
skin for 6 TrGr 186 career
	Subfolder 2 : 109E3 Witt 6/26 (3DZ Capitan Manduca Skin Julio Junquiera)
	Subfolder 3 : 109E3 6/53 (3DZ Capitan Manduca Skin Julio Junquiera)
	Subfolder 4 : 109E3 White 2/2 (3DZ Capitan Manduca Skin Julio Junquiera)

Folder 109G contains skins for 109E3
Subfolder 1 : 109E3 Brown (3DZ Capitan Manduca Skin Julio Junquiera)= default 
skin for 6/26 career
	Subfolder 2 : 109E3 White 2/2 (3DZ Capitan Manduca Skin Julio Junquiera)
	Subfolder 3 : 109E3 Witt 6/26 (3DZ Capitan Manduca Skin Julio Junquiera)
	Subfolder 4 : 109E3 109E3 6/53 (3DZ Capitan Manduca Skin Julio Junquiera)

Folder 109K contains skins for 109E1
Subfolder 1 : 109E1 (3DZ Capitan Manduca Skin Julio Junquiera)= default skin for 
2/26 career
	Subfolder 2 : 109E1 2/52 (3DZ Capitan Manduca Skin Julio Junquiera)
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder 110C contains skins for 110C1
Subfolder 1 : 110 C1 (3DZ Capitan Manduca, Serb and Redeyes, skin Migge non 
mirror /markings Ghostboy) 4ZG26 career
Subfolder 2 : 110 C1  ZG76 (3DZ Capitan Manduca, Serb and Redeyes, skin Migge 
non mirror /markings Ghostboy)
Subfolder 3 : 110 C1  ZG2 (3DZ Capitan Manduca, Serb and Redeyes, skin Migge 
non mirror /markings Ghostboy)
	Subfolder 4 : empty

Folder 110G contains skins for 110C2
Subfolder 1 : 110 C2 (3DZ Capitan Manduca, Serb and Redeyes, skin Migge, non 
mirror /markings Ghostboy) = default skin for 1ZG52 career
	Subfolder 2 : empty
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder 190A contains skins for 109E4 career
Subfolder 1 : 109E4 (3DZ Capitan Manduca Skin Julio Junquiera) = default skin for 
3/3 career
	Subfolder 2 : empty
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder 190D contains skins for 109E1
Subfolder 1 : 109E1 (3DZ Capitan Manduca Skin Julio Junquiera) = default skin for 
2/52 career
	Subfolder 2 : 109E1 2/26 (3DZ Capitan Manduca Skin Julio Junquiera)
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder B26A contains skins for Amiot
Subfolder 1 : generic Amiot (author unknown  based on Jean "JPI" Pigeons 354 
using PAW Betty model)
	Subfolder 2 : generic Amiot (old adaptation by Dom)
	Subfolder 3 : empty
	Subfolder 4 : empty


Folder H111 contains skins for He.111
	Subfolder 1 : He.111 (skin Migge)
	Subfolder 2 : He.111 (author unknown  based on Migges He111)
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder HURR contains skins for MS-406
Subfolder 1 : MS406 (3DZ Charles Gunst, skin Dom, skin texture corrections Captain 
Kurt, non mirrored / markings Ghostboy) = default skin for GC1/2 career
Subfolder 2 : MS406 (3DZ Charles Gunst, skin Dom, skin texture corrections / 
markings Captain Kurt, non mirrored Ghostboy) = default skin for GC2/3 career
Subfolder 3 : MS406 (3DZ Charles Gunst, skin Dom, skin texture corrections / 
markings Captain Kurt, non mirrored Ghostboy) = default skin for GC 3/3 career
Subfolder 4 : MS406 GC3/1 (3DZ Charles Gunst, skin Dom, skin texture corrections / 
markings Captain Kurt, non mirrored Ghostboy)
Subfolder 5 : MS406 GC2/2 Czech (3DZ Charles Gunst, skin Dom, skin texture 
corrections Captain Kurt, non mirrored / markings Ghostboy)
Subfolder 6 : MS406 GC1/2 Leenhard (3DZ Charles Gunst, skin Dom, skin texture 
corrections Captain Kurt, non mirrored / markings Ghostboy)

 Folder J88A contains skins for Do-17
Subfolder 1 : Do-17 (3DZ Woolfman and Geo, skin Mosi, non morrored and markings 
Ghostboy) 
Subfolder 2 : Do-17 (3DZ Woolfman and Geo, skin Mosi, non morrored and markings 
Ghostboy) 
Subfolder 3 : Do-17 (3DZ Woolfman and Geo, skin Mosi, non morrored and markings 
Ghostboy) 
	Subfolder 4 : empty

Folder J88C : unused 


Folder JU87 contains skins for Ju87 
Subfolder 1 : Ju87 (3DZ Paulo Morais, skin Mosi, skin upgrades, markings, non 
mirrored by Ghostboy)
Subfolder 2 : Ju87 (3DZ Paulo Morais, skin Mosi, skin upgrades, markings, non 
mirrored by Ghostboy)
Subfolder 3 : Ju87 (3DZ Paulo Morais, skin Mosi, skin upgrades, markings, non 
mirrored by Ghostboy)
Subfolder 4 : Ju87 (3DZ Paulo Morais, skin Mosi, skin upgrades, markings, non 
mirrored by Ghostboy)


Folder M410 contains skins for Ju88 
	Subfolder 1 : Ju88A (3DZ modz JPI and Paulo Morais, skin Mosi)
	Subfolder 2 : empty 
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder MOSQ contains skins for Bleinheim 
	Subfolder 1 : Bristol Blenheim (3DZ Captain Kurt and skin Woolfman/Captain Kurt)
	Subfolder 2 : empty 
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder P38H contains skins for Potez 631
Subfolder 1 : Potez (3DZ and skin Claudio Wilches non-mirrored markings Ghostboy)   
= default skin for GC1/16 career
	Subfolder 2 : Potez (3DZ and skin Claudio Wilches non-mirrored markings Ghostboy) 
	Subfolder 3 : Potez (3DZ and skin Claudio Wilches non-mirrored markings Ghostboy)
	Subfolder 4 : empty

Folder P38J contains skins for Fokker G1
Subfolder 1 : Fokker G1 (3DZ Charles Gunst and Claudio, skin Airbuddha and Emil) 
= default skin for 4de JA career
	Subfolder 2 : empty
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder P47C contains skins for 109E3
Subfolder 1 : 109E3 (3DZ Capitan Manduca Skin Julio Junquiera) = default skin for 
6/53 career
	Subfolder 2 : 109E3 6TrGr186 (3DZ Capitan Manduca Skin Julio Junquiera)
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder P47D contains skins for British Hurricane 1
Subfolder 1 : Hurr 1a (3DZ mods and skin Claudio Wilches) = default skin for 
squadron n85 career
	Subfolder 2 : empty
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder P51B contains skins for British Battle 
	Subfolder 1 : Fairey Battle (3DZ and skin Captain Kurt)
	Subfolder 2 : empty
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder P51D contains skins for Fokker DXXI
	Subfolder 1 : Fokker D12 (3DZ Woolfman and Chaarles Gunst, skin Woolfman) = 
default skin for 2de JA career
	Subfolder 2 : empty
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder SP09 contains skins for Belgian Gladiator & British Spit 1a
Subfolder 1 : Gladiator (3DZ Woolfman, skin Shadow Dragon) = default skin for 1st 
JS career
	Subfolder 2 : empty
	Subfolder 3 : empty
Subfolder 4 : Spit 1a (3DZ Capitan Manduca and Captain Kurt, non mirrored by 
Ghostboy, skin Captain Kurt) = default skin for 92 Sqdn British single missions over 
France 

Folder SP14 contains skins for Belgian Hurri 1 
Subfolder 1 : Hurri 1a (3dz mods and skin Claudio Wilches) = default skin for 2de JS 
career
	Subfolder 2 : empty
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder SP2A contains skins for D-520 
Subfolder 1 : D520 (3DZ Alatriste, skin Claudio Wilches, non mirrored / markings 
Ghostboy) = default skin for GC1/3 career
Subfolder 2 : D520 D520 (3DZ Alatriste, skin Claudio Wilches, non mirrored 
Ghostboy markings Captain Kurt)= default skin for GC2/3 career
Subfolder 3 : D520 (3DZ Alatriste, skin Claudio Wilches, non mirrored Ghostboy 
markings Captain Kurt)= default skin for GC 3/3 career
Subfolder 4 : D520 GC1/3 D520 (3DZ Alatriste, skin Claudio Wilches, non mirrored / 
markings Ghostboy)
Subfolder 5 : D520 GC3/6 D520 (3DZ Alatriste, skin Claudio Wilches, non mirrored / 
markings Ghostboy)
Subfolder 6 : D520 GC2/7 D520 (3DZ Alatriste, skin Claudio Wilches, non mirrored / 
markings Ghostboy)

Folder TEMP contains skins for MB152 
Subfolder 1 : MB152 (Claudio Wilches, skin mods Dom, non mirrored Ghostboy) = 
default skin for GC1/1 career
	Subfolder 2 : MB152 GC1/1 (Claudio Wilches, non mirrored Ghostboy) 
	Subfolder 3 : empty
	Subfolder 4 : empty

Folder TYPH contains skins for H75A
	Subfolder 1 : H75A (3DZ and skin Captain Kurt) = default skin for GC1/4 career
	Subfolder 2 : H75A (3DZ and skin Captain Kurt)
	Subfolder 3 : empty
	Subfolder 4 : empty

When loading files, a subfolder (1, 2, 3 ) is randomly choosen by the program for every 
aircraft slot and the 3DZ/TPC content is loaded into the main AITW40 folder. The 3DZ/TPC 
content of every subfolder can be changed but the subfolder indicated default skin must 
always contain the files corresponding to the aircraft career (the program exactly uses the 
3DZ/TPC from that subsolder). As well, the empty subfolders may be fulled with extra 
3DZ/TPC files and other extra subfolders can be created for each aircraft slot (5, 6, 7, 8 ).  
The program will take into account those new 3DZ/TPC files at the condition that the 
Randplan.fil (AITW40 folder) is modified by hexhediting as follows :

Structure of Randplan.fil :
It consists of 30 chunks of 16 bytes. Byte 0 of each chunk codes for the aircraft/slot (00 = 
P38H/Potez, 01 = P38J/FokkerG1  see Gunsts notes) and byte 2 codes for the number of 
subfolders. For example, at line 1, byte 2 is 03 that corresponds to the number of Potez skins 
available. If you want to add one more Potez skin, drop the 3DZ/TPC files into subfolder 4 of 
folder P38H and replace 03 with 04 at byte 2.

The other  main  editable files of the addon are contained in the AITW40 folder. They are 
the following :

- Listor.fil
- PlaneXX.fil
- CareerXX.fil

There are also many other files that can be hexediting but I dont think that you or others will 
have any interest in editing them. In that case, contact me.

Structure of Listor.fil :

This file codes for the different careers available in the addon and contains infos about the 
paths to the addon.

Byte 0 : 00 if no current career in use and different from 00 if a career is in use
Bytes 17-24 : name of current career (if any)
Byte 9 : number of german careers available
Byte 41 : number of french careers available
Byte 73 : number of allied (brit/belg/dutch) careers available
Bytes 129-1088 : german careers (9 chunks max)
Bytes 1089-2048 : french careers (9 chunks max)
Bytes 2049-3008 : allied careers (9 chunks max)
Example of a career chunk (example of careerGA, i.e. first german career): 
- bytes 129-136 : name of the career file used by the program
- bytes 145-223 : title displayed by the program
Bytes 3009-3071 : path to AITW40
Bytes 3073-3135 : path to AITW40\savedata
Bytes 3137-3199 : path to AITW40\W40

